package com.j3a.journal.beanservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.j3a.journal.beandao.IUserDao;
import com.j3a.journal.generic.IDaoGeneric;
import com.j3a.journal.generic.ServiceGeneric;
import com.j3a.journal.model.User;

@Service("userService")
public class UserService extends ServiceGeneric<User, Integer> implements
	IUserService {
    @Autowired
    private transient IUserDao userDao;

    public UserService() {

    }

    @Override
    public IDaoGeneric<User, Integer> getDAO() {
	// TODO Auto-generated method stub
	return this.userDao;
    }

}
